package com.lyx.service;

import com.lyx.domain.Product;

import java.util.List;

/*产品业务接口*/
public interface IProductService {
    //查询所有
    List<Product> findAll() throws Exception;

    //保存
    void save(Product product) throws Exception;

    //根据id查询
    Product findById(String id) throws Exception;

}
